import { onMounted, ref } from 'vue';
import { queryBedSelect } from '@/api';

export const useBedSelect = () => {
	const beds = ref([])
	onMounted(() => {
		queryBedSelect().then((res) => {
			beds.value = res.Data?.Children || [];
		});
	});
	return {
		beds
	}
}


